package cn.mill.common.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import cn.mill.common.HttpMethod;

@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface HttpDefine {
	String[] header() default {};
	
	String[] consumes() default {};
	
	String[] produces() default {};
	
	HttpMethod method() default HttpMethod.POST;
}
